package com.property.manage.model.fee;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDate;

/**
 * 描述
 *
 * @author lwb
 * @since 2020/7/16
 */
@Data
@TableName("t_collection")
public class Collection {

    /**
     * 物业管理费
     */
    public static final Integer TYPE_PROPERTY = 1;

    /**
     * 房屋出租
     */
    public static final Integer TYPE_HOUSE_LEASE = 2;

    /**
     * 车位出租
     */
    public static final Integer TYPE_PARKING_LEASE = 3;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer type;

    @TableField(strategy = FieldStrategy.IGNORED)
    private Integer relationId;

    private LocalDate nextPayDate;
    private Integer villageId;
}
